import request from '@/utils/request'

// 获取用户
export function getUser(user_account,user_pwd) {
  return request({
    url: '/user/getUser',
    method: 'post',
    data:{
      user_account,
      user_pwd
    }
  })
}
// 新增用户
export function addUser(user_account,user_name,user_pwd){
  return request({
    url:'/user/addUser',
    method:'put',
    data:{
      user_account,
      user_name,
      user_pwd
    }
  })
}